import exam from 'api/exam.js'
import { arrayCopy, swap } from 'utils'

import history from './history'
import New from './new'
import running from './running'

export default {
	namespaced: true,
	state: {
		currentView: 'History',
	},
	mutations: {
		setView(state, value){
			state.currentView = value;
		},
	},
	modules: {
		'new': New,
		history, 
		running,
	}
}
